<style>
	.queryBox{
		border:4px solid #eeeeee;
		margin-top:20px;
	}
	.queryBox_main{
		margin:20px;
		position: relative;
	}
	
	.queryBox_main>p>span{
		display: inline-block;
		width:190px;
		text-align: right;		
	}
	.queryBox_main>p>span:nth-of-type(4){
		text-align: left;
		padding-left:18px;
	}
	.queryBox_main>p>span:nth-of-type(3){
		padding-left:5px;
	}
	.queryBox_main>p:nth-of-type(2){
		margin-top:10px;
	}
	.queryBox_main>p>span:nth-of-type(2){
		width:250px;
	}
	
	.queryBox_main>p>span:nth-of-type(2)>input{
		width:175px;
	}
	.btnBox{
		width:100px;
		height:60px;
		float:right;
		position: absolute;
		right:0;
		top:0;
	}
	button[class=query]{
		margin-top:12px;
	}
	.orderDetail{
		border:1px solid #e9e9e9;
		margin-top:10px;
		margin-bottom: 20px;
	}
	.orderDetail_main{
		margin:1px;	
		padding-bottom: 92px;	
	}
	.orderDetail_main>table{
		width:100%;
	}
	.orderDetail_main>table th{
		background: #f8f8f8;
		height:53px;
		border-bottom: 1px solid #e4e4e4;
	}
	.orderDetail_main>table td{
		height:66px;
		border-bottom: 1px dashed #e4e4e4;
	}
	.f009ee7{
		color:#009ee7;
		cursor:pointer;
	}
</style>
<div class="main">
	<div class="queryBox">
		<div class="queryBox_main">
			<p>
				<span>订单编号：<input type="text" ng-model="orderID"/></span>
				<span>下单日期：<input style="width:75px"  ng-model="fromDate" type="text" onClick="WdatePicker({onpicked: function(){$(this).trigger('change')}})" /> - <input  ng-model="toDate" style="width:76px" type="text" onClick="WdatePicker({onpicked: function(){$(this).trigger('change')}})" /></span>
				<span>PNR编码：<input ng-model="pnr" type="text"/></span>
				<span>调账单：<select>
								<option>包含调账单</option>
								<option>不包含调账单</option>
								<option>只查询账单</option>
						   </select>
			 	</span>
			</p>
			<p>
				<span>旅客姓名：<input ng-model="passengerName" type="text"/></span>
				<span>票号：<input ng-model="ticketNo" type="text"/></span>
				<span>订单类型：<select style="width:55px" ng-model="orderType">
								<option value="all">全部</option>
								<option value="normal">正常</option>
								<option value="cancel">取消</option>
								<option value="endorse">改签</option>
								<option value="refund">退票</option>
								<option value="invalid">废票</option>
							 </select>
							<select style="width:64px" ng-model="orderSubType">
								<option value="all">全部</option>
								<option value="cancel">已取消</option>
								<option value="waiting_for_pay">未支付</option>
								<option value="issuing">出票中</option>
								<option value="issue_success">出票成功</option>
								<option value="issue_fail">出票失败</option>
								<option value="reviewing">审核中</option>
								<option value="review_success">审核成功</option>
								<option value="review_fail">审核失败</option>
								<option value="endorse_review_success">改签审核成功</option>
								<option value="endorse_review_fail">改签审核失败</option>
								<option value="endorsing">改签中</option>
								<option value="endorse_success">改签成功</option>
								<option value="endorse_fail">改签失败</option>
								<option value="refunding">退票中</option>
								<option value="refund_success">退票成功</option>
								<option value="refund_fail">退票失败</option>
								<option value="invaliding">废票中</option>
								<option value="invalid_success">废票成功</option>
								<option value="invalid_fail">废票失败</option>
							 </select>
				</span>
				<span>产品类型：<select style="width:110px">
									<option>全部</option>
							    </select>
				</span>
			</p>
			<div class="btnBox">
				<button ng-click="query()" class="query">查询</button>
			</div>
		</div>
	</div>
	<div class="orderDetail">
		<div class="orderDetail_main">
			<table>
				<tr>
					<th>订单编号</th>
					<th>票号</th>
					<th>PNR</th>
					<th>航班号</th>
					<th>行程</th>
					<th>旅客姓名</th>
					<th>出发日期</th>
					<th>舱位</th>
					<th>订单金额</th>
					<th>订单状态</th>
					<th>操作</th>
				</tr>
				<tr ng-repeat="orderlist in orderList">
					<td><span class="f009ee7" ui-sref="home.orderDetail({orderID:orderlist.orderID})">{{orderlist.orderID}}</span><br><span>操作员:{{orderlist.availOperate}}</span></td>
					<td>{{orderlist.ticketNo}}</td>
					<td>{{orderlist.pnr}}</td>
					<td>{{orderlist.flightNo}}</td>
					<td>{{orderlist.trip}}</td>
					<td>{{orderlist.passengerName}}</td>
					<td>{{orderlist.startDay|date:"yyyy-MM-dd"}}</td>
					<td>{{orderlist.cabinCode}}</td>
					<td>{{orderlist.amount}}</td>
					<td>{{orderlist.status}}</td>
					<td>删除</td>
					
				</tr>
			</table>
		</div>
	</div>
</div>

